package com.guocloud.medimind.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 病历模板匹配结果VO
 */
@Data
@Schema(description = "病历模板匹配结果")
public class MedicalTemplateMatchVO {
    
    @Schema(description = "匹配到的模板信息")
    private MatchedTemplate matchedTemplate;
    
    @Schema(description = "匹配建议")
    private Recommendations recommendations;
    
    @Data
    public static class MatchedTemplate {
        @Schema(description = "模板名称")
        private String name;
        
        @Schema(description = "匹配置信度评分 (0-100)")
        private Integer confidenceScore;
        
        @Schema(description = "主要字段列表")
        private List<String> mainFields;
    }
    
    @Data
    public static class Recommendations {
        @Schema(description = "缺失的字段")
        private List<String> missingFields;
        
        @Schema(description = "建议添加的字段")
        private List<String> suggestedFields;
    }
} 